/*
 * @Author: your name
 * @Date: 2021-07-01 09:47:02
 * @LastEditTime: 2021-07-03 19:23:27
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \vue-hr-project\src\store\getters.js
 */

const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  avatar: state => state.user.userInfo.staffPhoto,
  name: state => state.user.userInfo.username,
  token: state => state.user.token,
  userId: state => state.user.userInfo.userId
}
export default getters
